package com.ljl.headfirst.job2;

import com.ljl.headfirst.job1.Car;


public class DriverMan implements Driver {

	private String name;

	public DriverMan(String name) {
		this.name = name;
	}
	
	@Override
	public void drive(Car car) {
		car.run();
		System.out.println("a man called " + name + " is driving.");
	}

}